#include "errors.h"

void
myprint_1str(char *val) {
    if(val) {
        ATTENTION(val);
        printf("%s\n",val);
        if(OUTLOG) {
            FILE *p=fopen(OUTLOG,"wb+");
            if(p) {
                int fpf=fprintf(p,"%s\n",val);
                if(!fpf) {
                    printf("%s: fprintf(%s) not saved in %s\n",__LINE__,val,OUTLOG);
                    return;
                }
                fclose(p);
            }
            printf("%s",val);
        } else {
        }
    } else {
        printf("%s: !! val=\"%s\"\n",val);
    }
}
